home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr40
/
x1j4pk96.zip
/
X1JCONV.DOC
< prev
next >
Wrap
Text File
|
1994-07-12
|
3KB
|
60 lines
X1JCONV Version 1.1 (I never release a 1.0 of anything)
Converts a record'ed file to a file suitable for re-load to X1J.
First of all, I want to THANK Dave Roberts for writing X1J.
This program is for Amateur Radio only. It may be freely copied for
such use provided its source is acknowledged. It may not be used
for commerical applications.
This was written because keeping my loadfile(s) and my X1J(s) in sync
was a P.I.A. and drove me crazy. We have 8 X1J's I and N8NTJ take care
of. This may not many compared to what you may have but it's enough
as we look to be adding more of them.
Format: x1jconv infile outfile [debug]
If debug then I will display the input/output rcds to screen.
Recorded output may include 'iproute','arp','ipaddress','routes'
'mode', and 'parm'
To build in the record you should
1) connect to the X1J
2) flip back to main (F10) and enter: record xxxx (xxxx = filename
3) flip back to X1J
4) enter what you want me to convert: iproute
arp
ipaddress
r(outes)
mode
parm
5) flip back to main (F10) and enter: record off
6) bail out of NOS
7) enter: x1jconv xxxx xxxx.out (or whatever files names you like)
8) look at xxxx.out to see if it's what you wanted.
Some tcp/ip programs will not echo the input stream from you console
so the commands you enter will not appear in the record file. This
will cause problems for 'mode' and 'parm' since they have no special
identifier as to which is which. If you running one of those tcp/ip's
that does this you'll have to add the 'mode' & 'parm' lines in
editor (I know this stinks and I'm working on a better way of doing
it, plus it still beats retyping the entire 'parm, & 'mode' in
by hand).
If the parser doesn't give the output you think it should have then
beware of how I determine what record belongs to what.
ARP - I look for a 'AX.25' or 'Net/Rom' in column 21 in the rcd.
IPADDRESS - I look for the 'My IP address' string in the rcd.
IPROUTES - I look for 'Port' or 'Net/Rom' in column 23 in the rcd.
ROUTES - I look for '!' (locked route) in the rcd.
MODE - I look for the string 'mode' and grab the next rcd as input.
PARMS - I look for the string 'parm' and grab the next 2 rcds.
I suppose comments and suggestions can be sent to me.
73's Ken n8ptt.ampr.org [44.70.179.1]
Packet: n8ptt@w8ft.#nwoh.oh.usa.noam
Internet: n8ptt@cris.com
U.S.Snail: 538 Sheffield Drive, Findlay, Oh 45840